Skip to content

Integrated msgpack-numpy for serializing numpy arrays#187

Open
JNevrly wants to merge 1 commit into0rpc:masterfrom
JNevrly:msgpack_numpy_integration
Open

Integrated msgpack-numpy for serializing numpy arrays#187
JNevrly wants to merge 1 commit into0rpc:masterfrom
JNevrly:msgpack_numpy_integration

Conversation

@JNevrly
Copy link

@JNevrly JNevrly commented Mar 7, 2018

This enables zerorpc to use numpy arrays as arguments or return values.

The whole patch is just a simple addition of msgpack-numpy using the monkey-patch method.

Worked fine in both tests and real-life use.

Disadvantages:

  • introduces numpy into the project dependency tree
  • as I'm not affiliated with the msgpack-numpy development, I'm have no idea how much is the monkey-patching approach future-proof or safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant